import {request} from "@/services/request.ts";

export const getMemberList = async (oid:string)=>{
    return await request.get('/organization/member',{oid})
}

export const MemberUpdate = async (id:number,params:object)=>{
    return await request.put(`/organization/member/${id}`,params)
}
export const MemberDelete = async (id:number)=>{
    return await request.del(`/organization/member/${id}`)
}